package edu.scau.divineplace.entity.dos;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author x1aolone
 * @since 2020-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("content_extra_information")
public class ContentExtraInformationDO implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 额外信息主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 基本信息id
     */
    @TableField("content_id")
    private Long contentId;

    /**
     * 额外信息名
     */
    @TableField("name")
    private String name;

    /**
     * 额外信息值
     */
    @TableField("value")
    private String value;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 是否删除
     */
    @TableField(value = "is_deleted", fill = FieldFill.INSERT)
    @TableLogic
    private Integer isDeleted;


}
